import request from '@/utils/request'

export default {
  //查询首页讲师数据
  getIndexTeacher(){
    return request({
      url: '/eduservice/teacher/findBySort',
      method: 'get'
    })
  },
  //查询首页课程数据
  getIndexCourse(){
    return request({
      url: '/eduservice/course/findByViewCount',
      method: 'get'
    })
  },
}
